home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- put the mouseH && the mouseV into field "mouseLoc"
- set the timeoutLength to 1 * 60 * 60
- set the timeoutScript to "ScreenSaver"
- end
-
- on exitFrame
- global GHarddiskpath
- if (the mouseH <> word 1 of field "mouseLoc") or (the mouseV <> word 2 of field "mouseLoc") then
- set the timeoutScript to EMPTY
- go("From picture", GHarddiskpath & "OsloMain")
- else
- if the frame = the lastFrame then
- go(1)
- else
- continue()
- end if
- end if
- end
-
- on screenSaver
- global gCDRDrive
- set whichMovie to getAt(["beach", "dolpush", "knock", "sunglass"], random(4))
- set the timeoutScript to EMPTY
- go(1, gCDRDrive & "screen:" & whichMovie)
- end
-